.. _CT Structures: ========================== CT Structures ========================== .. toctree:: :maxdepth: 1 * :ref:`CTiledObject` * :ref:`CTime` * :ref:`CTimeSpan` * :ref:`CTimer` * :ref:`CTimerWorld` * :ref:`CTlkFileOverride` * :ref:`CTlkTable` * :ref:`CTypedPtrArray` * :ref:`CTypedPtrList` .. _CTiledObject: CTiledObject ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CTiledObject Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | long | m_nWedIndex | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | :ref:`CResWED`\* | m_pResWed | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 2 | unsigned short | m_wAIState | +------------+----------+----------------------------------------+-------------------------------+ | 0x0A | 2 | unsigned short | m_wRenderState | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 4 | __POSITION\* | m_posAreaList | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 8 | :ref:`CResRef` | m_resId | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CTime: CTime ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CTime Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 8 | __int64 | m_time | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CTimeSpan: CTimeSpan ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 8 | __int64 | m_timeSpan | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CTimer: CTimer ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | :ref:`CObject` | m_cObject | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | int | bEveryIteration | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | int | bOnceOnly | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 4 | int | bTimerStarted | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | :ref:`CWarp`\* | pEngine | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 4 | __POSITION\* | pos | +------------+----------+----------------------------------------+-------------------------------+ | 0x18 | 4 | long | nTimerInterval | +------------+----------+----------------------------------------+-------------------------------+ | 0x1C | 4 | long | nElaspedTime | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CTimerWorld: CTimerWorld ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CTimerWorld Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | unsigned long | m_gameTime | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 1 | unsigned char | m_active | +------------+----------+----------------------------------------+-------------------------------+ | 0x05 | 1 | unsigned char | m_nLastPercentage | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CTlkFileOverride: CTlkFileOverride ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CTlkFileOverride Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | int | bLoaded | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | int | m_UserAddedCount | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CTlkTable: CTlkTable ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CTlkTable Class` +------------+----------+-----------------------------------------------+---------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+-----------------------------------------------+---------------------+ | 0x00 | 28 | :ref:`CMapStringToString` | m_mapTokens | +------------+----------+-----------------------------------------------+---------------------+ | 0x1c | 1 | unsigned char | m_currentGender | +------------+----------+-----------------------------------------------+---------------------+ | | 3 | | ```` | +------------+----------+-----------------------------------------------+---------------------+ | 0x20 | 8 | :ref:`CTlkFileOverride` | m_override | +------------+----------+-----------------------------------------------+---------------------+ | 0x28 | 8 | :ref:`CFileView`\* | m_tlkFiles[2] | +------------+----------+-----------------------------------------------+---------------------+ | 0x30 | 4 | unsigned long\* | m_engineStrings | +------------+----------+-----------------------------------------------+---------------------+ | 0x34 | 4 | unsigned long | m_nEngineStrings | +------------+----------+-----------------------------------------------+---------------------+ | 0x38 | 4 | unsigned long | m_nEngineStringBase | +------------+----------+-----------------------------------------------+---------------------+ ---- .. _CTypedPtrArray: CTypedPtrArray ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 20 | :ref:`CPtrArray` | m_cPtrArray | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CTypedPtrList: CTypedPtrList ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 28 | :ref:`CPtrList` | m_cPtrList | +------------+----------+----------------------------------------+-------------------------------+